How to reproduce the results reported in:

Lindstam, Emmy/Mader, Matthias/Schoen, Harald. 
Conceptions of National Identity and Ambivalence towards Immigration. In: British Journal of Political Science.

1)	Save all files in the same folder.

To reproduce all findings reported in the paper (except the ESEM reported in Table 1)
2)	Open "Replication.R" with R.
3)	Run the code.

To reproduce the ESEM reported in Table 1
4)	Open esem_GLES.inp with Mplus run the code.
5)	Open esem_RS.inp with Mplus run the code.

The cleaned data sets are included in the reproduction package. The original GLES data set that is listed below and can be publicly accessed.
The original YouGov data set is available upon request.

The (Stata) code to clean the original data sets is available upon request. 

GLES data set:
Ro�teutscher, Sigrid; Schmitt-Beck, R�diger; Schoen, Harald ; We�els, Bernhard; Wolf, Christof; 
Prei�inger, Maria; Kratz, Agatha; Wuttke, Alexander; Manger, Lea (2018): 
Short-term Campaign Panel 2017 (GLES). GESIS Data Archive, Cologne.
ZA6804 Data file Version 5.0.0, doi:10.4232/1.13047